import request from '@/utils/request'
// 类目
export function configListApi(dataRequest) {
    return request({
        url: '/course/list',
        method: 'POST',
        data: dataRequest
    })
}
//题库类型列表
export function enableBankTypeListApi(dataRequest) {
    return request({
        url: "/course/bank/type/enable/list",
        method: "POST",
        data: dataRequest,
    });
}
// 保存
export function saveBankApi(dataRequest) {
    return request({
        url: '/bank',
        method: 'POST',
        headers: {
            'Content-Type':'multipart/form-data'
          },
        data: dataRequest
    })
}
